package com.zyw.entity;

import javax.persistence.*;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-03-21 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="procurement_purchase_orders" )
public class ProcurementPurchaseOrders  implements Serializable {

	private static final long serialVersionUID =  4614643636518271023L;

	/**
	 * 主键 采购单id
	 */
   	@Column(name = "id" )
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 订单ID
	 */
   	@Column(name = "order_id" )
	private String orderId;

	/**
	 * 物料名称
	 */
   	@Column(name = "lining_name" )
	private String liningName;

	/**
	 * 物料数量
	 */
   	@Column(name = "lining_num" )
	private Integer liningNum;

	/**
	 * 生成时间
	 */
   	@Column(name = "generated_date" )
	private String  generatedDate;

	/**
	 * 入库时间
	 */
   	@Column(name = "storage_date" )
	private String storageDate;

	/**
	 * 入库人
	 */
   	@Column(name = "storage_people" )
	private String storagePeople;

	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private Integer status;

   	@Transient
	private String statusString;
}
